package com.general.seckill.stockservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.RedisSerializer;

/**
 * @description: GatewayApplication
 * @author: general
 * @version: 1.0
 * @create: 2022-04-30 12:22
 **/
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
@MapperScan(basePackages = "com.general.seckill.stockservice.mapper")
public class StockServiceApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(StockServiceApplication.class, args);
    }



}
